<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class KnowledgeGuideTag extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'eb_knowledge_guide_tag';
    public $timestamps = false;
    public function titles()
    {
        return $this->hasMany(KnowledgeGuideTitle::class,'period');
    }
    public function contents()
    {
        return $this->hasMany(KnowledgeGuide::class,'period');
    }
}
